mystr="hello python2 hello python3"
print(mystr.capitalize())   #第一位字符串大写
print(mystr.count("python")) #统计字符串出现的次数

mystr="8888"
print(mystr.center(40,'-')) #填充字符串